package vip.finance.makemoney.controller;

import vip.finance.makemoney.common.vo.UserInfo;
import vip.finance.makemoney.config.UserContext;

/**
 * @author yangbin
 * @since 2023-01-19
 */
public class BaseController {
    protected UserInfo currentUser() {
        return UserContext.currentUserInfo();
    }

    protected void currentTradeUserId(Integer tradeUserId) {
        UserContext.currentUserInfo().setCurrentTradeUserId(tradeUserId);
    }
}
